package com.newspublish.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newspublish.system.entity.system.ImpeachNews;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ImpeachNewsMapper extends BaseMapper<ImpeachNews> {

    //根据举报人名称获取举报信息
    List<ImpeachNews> getByWhistleblower(String whistleblower);

}
